home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: ODF-Interest@CILabs.ORG
- Sent: 7/25/96 12:44 PM
- Received: 7/25/96 1:01 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I am writing a ODF part only for the Macintosh -
- >
- >Is there any way to make Mac Toolbox drawing calls (FrameRect,
- >FillCRect...) to the graphics subsystem of ODF?
- >
- >Specifically, I want to call FillCRect() with a given PixPatHandle.
- >
- >If this isn't possible, would I have to create a shape to render with
- >into a FW_CGraphicContext? This would require translating a PixPatHandle
- >into FW_CPattern.
- >Has anyone done this before?
- >Is there a better way?
-
- The other way to do that is to create a FW_CPattern with your
- PixPatHandle, use the FW_CPattern to create a FW_CStyle and use
- FW_CRectShape::RenderRect.
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-
-